package com.hyk.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hyk.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyk.entity.request.ProductRequest;
import com.hyk.entity.response.ProductResponse;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author hyk
 * @since 2021-03-18
 */
public interface ProductMapper extends BaseMapper<Product> {

    IPage<ProductResponse> findListForName(IPage<ProductResponse> productResponseIPage, @Param("request") ProductRequest request);
}
